home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsIXTFStyledElementWrapper.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  95 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXTFStyledElementWrapper.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIXTFStyledElementWrapper_h__
  6. #define __gen_nsIXTFStyledElementWrapper_h__
  7.  
  8.  
  9. #ifndef __gen_nsIXTFElementWrapper_h__
  10. #include "nsIXTFElementWrapper.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIXTFStyledElementWrapper */
  19. #define NS_IXTFSTYLEDELEMENTWRAPPER_IID_STR "814dbfdd-32ff-4734-9aea-b84c925bc9c0"
  20.  
  21. #define NS_IXTFSTYLEDELEMENTWRAPPER_IID \
  22.   {0x814dbfdd, 0x32ff, 0x4734, \
  23.     { 0x9a, 0xea, 0xb8, 0x4c, 0x92, 0x5b, 0xc9, 0xc0 }}
  24.  
  25. class NS_NO_VTABLE nsIXTFStyledElementWrapper : public nsIXTFElementWrapper {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXTFSTYLEDELEMENTWRAPPER_IID)
  29.  
  30.   /**
  31.    * This sets the name of the class attribute.
  32.    * Should be called only during ::onCreated.
  33.    * Note! nsIXTFAttributeHandler can't be used to handle class attribute.
  34.    */
  35.   /* void setClassAttributeName (in nsIAtom name); */
  36.   NS_IMETHOD SetClassAttributeName(nsIAtom *name) = 0;
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIXTFSTYLEDELEMENTWRAPPER \
  42.   NS_IMETHOD SetClassAttributeName(nsIAtom *name); 
  43.  
  44. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  45. #define NS_FORWARD_NSIXTFSTYLEDELEMENTWRAPPER(_to) \
  46.   NS_IMETHOD SetClassAttributeName(nsIAtom *name) { return _to SetClassAttributeName(name); } 
  47.  
  48. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  49. #define NS_FORWARD_SAFE_NSIXTFSTYLEDELEMENTWRAPPER(_to) \
  50.   NS_IMETHOD SetClassAttributeName(nsIAtom *name) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetClassAttributeName(name); } 
  51.  
  52. #if 0
  53. /* Use the code below as a template for the implementation class for this interface. */
  54.  
  55. /* Header file */
  56. class nsXTFStyledElementWrapper : public nsIXTFStyledElementWrapper
  57. {
  58. public:
  59.   NS_DECL_ISUPPORTS
  60.   NS_DECL_NSIXTFSTYLEDELEMENTWRAPPER
  61.  
  62.   nsXTFStyledElementWrapper();
  63.  
  64. private:
  65.   ~nsXTFStyledElementWrapper();
  66.  
  67. protected:
  68.   /* additional members */
  69. };
  70.  
  71. /* Implementation file */
  72. NS_IMPL_ISUPPORTS1(nsXTFStyledElementWrapper, nsIXTFStyledElementWrapper)
  73.  
  74. nsXTFStyledElementWrapper::nsXTFStyledElementWrapper()
  75. {
  76.   /* member initializers and constructor code */
  77. }
  78.  
  79. nsXTFStyledElementWrapper::~nsXTFStyledElementWrapper()
  80. {
  81.   /* destructor code */
  82. }
  83.  
  84. /* void setClassAttributeName (in nsIAtom name); */
  85. NS_IMETHODIMP nsXTFStyledElementWrapper::SetClassAttributeName(nsIAtom *name)
  86. {
  87.     return NS_ERROR_NOT_IMPLEMENTED;
  88. }
  89.  
  90. /* End of implementation class template. */
  91. #endif
  92.  
  93.  
  94. #endif /* __gen_nsIXTFStyledElementWrapper_h__ */
  95.